package DaEr1_2;

import java.util.Scanner;

public class RunNian {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入一个年份：");
        int i = scanner.nextInt();
        if ((i%4==0&&100!=0)||(i%400==0)){
            System.out.println("闰年");
        }else {
            System.out.println("不是闰年");
        }

    }
}
